Like

data class Like(val localId: Long = 0, val serverId: String? = null, val name: String, val category: String)

This class represents a Like entity.

Constructors

Link copied to clipboard
constructor(localId: Long = 0, serverId: String? = null, name: String, category: String)

Properties

Link copied to clipboard

The category of the Like.

Link copied to clipboard
val localId: Long = 0

The local ID of the Like.

Link copied to clipboard

The name of the Like.

Link copied to clipboard
val serverId: String? = null

The server ID of the Like.

Functions

Link copied to clipboard

Converts this Like to an ApiLike.

Link copied to clipboard

Converts this Like to a dbLike.